function  addSelectOption(){
	
	addPathSelect("#pathChoose","pathSelect");
}

function check(){
	$("#upload-btn").click(function(){
		if($("#file").val()==""){
			$("#msg").html("fail to upload");
			return false;
		}
	});
}

$(function(){
	addSelectOption();
	check();
})